const express = require('express')
const app = express()
const port = 3001
const log = require("./log")
const bodyParser = require('body-parser')

app.use(bodyParser.urlencoded({ extended: false }))
// parse application/json
app.use(bodyParser.json())
app.use('/api',require('./api'));
app.listen(port,()=>{
    log("INFO","Express",undefined,undefined,`Server Listening on port ${port}`);
})